package cn.mywcc.config;

import com.alibaba.nacos.api.config.ConfigType;
import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

@Component
@NacosPropertySource(dataId = "")
/*@ConfigurationProperties(prefix = "nacos")*/
@Validated
@RefreshScope
@Primary
@Data
public class PermissionConfig {
    @Value("${temu.zzz}")
    private String  app_key ;
}
